package com.bdqn.oa.entity;


/**
 * 员工类
 *
 * @author zhouxw
 */
public class Employee {
    /**
     * 员工id
     */
    private Integer id;
    /**
     * 员工工号
     */
    private String no;
    /**
     * 员工姓名
     */
    private String name;
    /**
     * 身份证号
     */
    private String idcardNo;
    /**
     * 手机号
     */
    private String tel;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 密码, 通过md5加密
     */
    private String password;
    /**
     * 所属岗位id
     */
    private Integer postId;
    /**
     * 所属部门id
     */
    private Integer deptId;
    /**
     * 直属领导id, 1.员工:默认为部门经理 2.部门经理:总经理
     */
    private Integer leadId;
    /**
     * 所属角色id
     */
    private Integer roleId;
    /**
     * 删除标记 1.正常 2.已禁用
     */
    private String delFlag;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getIdcardNo() {
        return idcardNo;
    }

    public void setIdcardNo(String idcardNo) {
        this.idcardNo = idcardNo;
    }


    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }


    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }


    public Integer getLeadId() {
        return leadId;
    }

    public void setLeadId(Integer leadId) {
        this.leadId = leadId;
    }


    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }


    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", name='" + name + '\'' +
                ", idcardNo='" + idcardNo + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", password='" + password + '\'' +
                ", postId=" + postId +
                ", deptId=" + deptId +
                ", leadId=" + leadId +
                ", roleId=" + roleId +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
